package com.mdz.ypxspt.Mapper;

import com.mdz.ypxspt.Entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author 孟德志
 * @since 2019-12-15
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Select("select * from sys_user where login_name=#{loginName} and login_password=#{loginPassword} ")
    public Integer selectuserbyloginNameandpassword(@Param("loginName") String loginName, @Param("loginPassword") String loginPassword);
}
